#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sqlite3

dbPath = 'imgDb.db'

print 'connect db ', dbPath
cx = sqlite3.connect(dbPath)
cu = cx.cursor()

print 'create table imgs'
cu.execute("create table imgs (name char(12) primary key, localPath varchar(256) unique, url varchar(256) unique)")
cu.close()
cx.close()
